package com.cskaoyan.service.admin;

import com.cskaoyan.bean.MarketStorage;
import com.cskaoyan.model.admin.bo.AdminCreateBo;
import com.cskaoyan.model.admin.bo.BaseParam;
import com.cskaoyan.model.admin.vo.BaseData;
import org.springframework.web.multipart.MultipartFile;

import java.util.UUID;

/**
 * @author hanshuai
 * @version 1.0
 * @description @TODO
 * @date 2021/11/29 21:14
 */
public interface StorageService {
    MarketStorage storeAvatar(MultipartFile file, UUID code);

    void deleteStorage(AdminCreateBo adminCreateBo);

    BaseData storageList(BaseParam baseParam,String key,String name);

    MarketStorage updateStorage(MarketStorage marketStorage);

    void deleteStorage(MarketStorage marketStorage);
}
